package com.cn.mapper.dao.db5;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.bean.dto.DataStructureDto;
import com.cn.bean.pojo.file.FileDetails;
import com.cn.bean.pojo.sys.DataStructureMainTable;
import com.cn.bean.pojo.sys.DataStructureSub_Table;
import com.cn.bean.pojo.sys.Sys_Sequence_Info_T;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DataStructureDao extends BaseMapper<DataStructureDto> {

  List<DataStructureDto> selectDataStructure(DataStructureDto dataStructureDto);

    Boolean insertDataStructureMain(DataStructureMainTable mainTable);
    Boolean insertDataStructureSub(DataStructureSub_Table subTable);
    Boolean delDataStructureMain(int id);
    List<DataStructureDto> selectSub(int id);
  List<DataStructureDto> selectAll(DataStructureDto dataStructureDto);
    Boolean delDataStructureSub(int id);
    Boolean updateMain(DataStructureMainTable mainTable);
  Boolean updateSub(DataStructureSub_Table subTable);
  Integer getDataStructureAutoid();
  Integer getDataStructureSubAutoid();
  Integer getSequenceInfoMain();
  Integer getSequenceInfoAutoid();
  Boolean insertSequenceInfo(Sys_Sequence_Info_T sysSequenceInfoT);
  Boolean delSequenceInfo(int id);
  List<DataStructureDto> selectAL(DataStructureDto dataStructureDto);
}
